<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>贪吃蛇</title>
  <link rel="stylesheet" href="./css/index1.css">
</head>
<body>
<!-- 创建游戏的主容器 -->
<div id="main">
  <!-- 设置游戏舞台 -->
  <div id="stage">
    <!--  设置蛇  -->
    <div id="snake">
      <!-- 蛇部件 -->
      <div></div>
    </div>

    <!-- 食物 -->
    <div id="food">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>
  </div>

  <!-- 设置游戏记分牌 -->
  <div id="score_panel">
    <div class="">
      SCORE: <span id="score">0</span>
    </div>
    <div class="">
      LEVEL: <span id="level">1</span>
    </div>
  </div>
</div>
  <script src="./dist/index.js"></script>
</body>
</html>
